<extend name="Include:Layout"/>
<block name="title">教师天地</block>
<block name="style">
<style>
.weui_media_box .weui_media_desc {
	-webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}
</style>
</block>

<block name="main">
<div class="weui_tab">
	<!-- <div class="weui_navbar">
		<div class="toolbar">
	        <div class="toolbar-inner">
	            <h1 class="title" id="banji_title">教师天地</h1>
	        </div>
	    </div>
	</div> -->
	<div class="weui_tab_bd" id="content" style="margin-top:0px;padding-bottom:55px;">
		<div id="data-content">
			<volist name="info" id="vo">
			<if condition="$vo['teachers']">
			<div class="weui_panel weui_panel_access" style="margin-bottom:10px;">
			  <div class="weui_panel_hd">{$vo.xiaoqu}</div>
			  <div class="weui_panel_bd">
			  	<volist name="vo['teachers']" id="th">
			    <a href="{:U('detail',array('uid'=>$th['uid'],'did'=>$vo['xqid']))}" class="weui_media_box weui_media_appmsg">
			      <div class="weui_media_hd">
			      	<php>$th['avater']?$headimg=$th['avater']:$headimg=$th['headimgurl'];</php>
			        <img class="weui_media_appmsg_thumb" src="{$headimg|default='/Public/Static/Img/txlogo.jpg'}" alt="">
			      </div>
			      <div class="weui_media_bd">
			        <h4 class="weui_media_title">{$th.english}</h4>
			        <p class="weui_media_desc">{:R('fuwu/getkecheng',array('uid'=>$th['uid'],'did'=>$vo['xqid']))}</p>
			      </div>
			      <div class="weui_panel_ft"></div>
			    </a>
			    </volist>
			  </div>
			</div>
			</if>
			</volist>
		</div>
	</div>
<php>$curbar = 3;</php>
<include file="Include:navbar" />
</div>

</block>

<block name="script">
<script>

</script>
</block>